package com.yunji.order.mapper;

import com.github.yulichang.base.MPJBaseMapper;
import com.yunji.order.domain.RefundDO;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @Package com.yunji.order.mapper
 * FileName:	RefundMapper.java
 * Copyright:	Copyright © 2024 云集互联 All Rights Reserved
 * Company:		云集互联
 * @version: 1.0
 * @since: JDK 1.8.0_202
 * Create at:   2024-04-21 21:29:54
 * Description:
 * 订单退款数据交互
 * Modification History:
 * Author					Date					Version         Description
 * -------------------------------------------------------------------------------------
 * HuaAo0803@163.com	2024-04-21 21:29:54     1.0             1.0 Version
 */
public interface IRefundMapper extends MPJBaseMapper<RefundDO> {

//    @Select({"<script>SELECT DISTINCT ${searchFiled} FROM t_refund t LEFT JOIN t_order o ON t.order_id = o.order_id",
//            "WHERE t.del_flag = 0",
//            "<if test='containerName != null'> AND o.container_name LIKE concat('%',#{containerName},'%') </if>",
//            "<if test='memberName != null'> AND o.member_name LIKE concat('%',#{memberName},'%') </if>",
//            "<if test='memberPhone != null'> AND o.member_phone LIKE concat('%',#{memberPhone},'%') </if>",
//            "<if test='productName != null'> AND o.product_name LIKE concat('%',#{productName},'%') </if></script>"})
//    List<String> searchTableField(RefundParam param);
}